package com.example.foundation.controller;

import com.example.foundation.service.ServiceImp.userServiceImp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : LiuWenHao
 * @create 2023/5/3 20:39
 */
@RestController
@RequestMapping("/user")
public class userController {
    @Autowired
    private userServiceImp userServiceImp;

    @GetMapping("/list")
    public int  list()
    {
        int i=userServiceImp.shuld();
        return i;
    }

}
